package org.springblade.modules.repair.vo.statistics.by;

import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;

/**
 * @Date 11:41 2022/11/29
 * @Description {
 *    保养统计页面工作时长详情
 * }
 * @Author lsay
 **/
@EqualsAndHashCode(callSuper = true)
@Data
public class CheckStatisticsDurationCountVO extends CheckStatisticsDurationDetailVO {

	/**
	 * 表格首列 组名或人名
	 */
	private String label;

	/**
	 * 正常
	 */
	private Long normal;

	/**
	 * 过长
	 */
	private Long toLong;

	/**
	 * 过短
	 */
	private Long toShoot;

	public CheckStatisticsDurationCountVO() {
	}

	public CheckStatisticsDurationCountVO(String label) {
		this.label = label;
		this.toLong = 0L;
		this.toShoot = 0L;
		this.normal = 0L;
		this.setNormalPer(BigDecimal.valueOf(0.0));
		this.setToLongPer(BigDecimal.valueOf(0.0));
		this.setToShootPer(BigDecimal.valueOf(0.0));
	}
}
